import { createStore } from 'vuex'

export default createStore({
  state: {
    values:1111,
  },
  mutations: {
    AAA(state){
    
      state.values=222
      console.log(state.values,'values');
    }
  },
  actions: {
    BBB({state,commit},data){
      commit('AAA')
    }
  },
  modules: {
  }
})
